<div class="box box-solid box-default">
    <div class="box-header with-border">
        <h3 class="box-title">应缴年费信息</h3>
        <div class="box-tools pull-right">
            <button class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i></button>
        </div><!-- /.box-tools -->
    </div><!-- /.box-header -->
    <div class="box-body" style="display: block;">
        <table class="table ">
            <thead>
            <tr>
                <th>费用种类</th>
                <th>应缴金额</th>
                <th>缴费截止日</th>
            </tr>
            </thead>
            <tbody>
            @if(empty($unpaids))
                <tr>
                    <td style="text-align: center" colspan="3">没有找到匹配的记录</td>
                </tr>
            @else
                @foreach($unpaids as $unpaid)
                    <tr>
                        <td>{{$unpaid->name}}</td>
                        <td>{{$unpaid->amount}}</td>
                        <td>{{$unpaid->last_time}}</td>
                    </tr>
                @endforeach
            @endif
            </tbody>
        </table>
    </div><!-- /.box-body -->
</div>

<div class="box box-solid box-default">
    <div class="box-header with-border">
        <h3 class="box-title">已缴费信息</h3>
        <div class="box-tools pull-right">
            <button class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i></button>
        </div><!-- /.box-tools -->
    </div><!-- /.box-header -->
    <div class="box-body" style="display: block;">
        <table class="table ">
            <thead>
            <tr>
                <th>费用名称</th>
                <th>缴费金额</th>
                <th>缴费日期</th>
                <th>缴费人姓名</th>
                <th>收据号</th>
            </tr>
            </thead>
            <tbody>
            @if(empty($paids))
                <tr>
                    <td style="text-align: center" colspan="3">没有找到匹配的记录</td>
                </tr>
            @else
                @foreach($paids as $paid)
                    <tr>
                        <td>{{$paid->name}}</td>
                        <td>{{$paid->amount}}</td>
                        <td>{{$paid->pay_time}}</td>
                        <td>{{$paid->payer}}</td>
                        <td>{{$paid->bill_number}}</td>
                    </tr>
                @endforeach
            @endif
            </tbody>
        </table>
    </div><!-- /.box-body -->
</div>